//牛客 WY33 计算糖果
#include <iostream>
using namespace std;

int main() {
    int x, y, z, w;
    cin >> x >> y >> z >> w;

    if ((z - x) % 2 != 0)
    {
        cout << "No" << endl;
        return 0;
    }

    int B = (z - x) / 2;
    int A = x + B;
    int C = B - y;

    if (B + C == w)
    {
        cout << A << " " << B << " " << C << endl;
    }
    else
    {
        cout << "No" << endl;
    }

    return 0;
}
